package com.example.activitiescustom;



import android.app.Activity;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ListAdapter;
import android.widget.TextView;

public class SaveActivity extends Activity{
	
	//private Cursor mCursor; 
   // private ListAdapter mAdapter;
    
Button btnSaveResult;
EditText edName;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_save);
		edName = (EditText)findViewById(R.id.NameEditor);
		btnSaveResult = (Button)findViewById(R.id.saveResultButton);
		String Name=getIntent().getExtras().getString("name");
		Integer Score=getIntent().getExtras().getInt("score");
		edName.setText(Name);
	//	btnSaveResult.setOnClickListener(new OnClickListener() {
			
	//		@Override
	//		public void onClick(View v) {
			//	 Intent intent = new Intent();
			//	    intent.putExtra("XXX", tvData.getText().toString());
			//	    setResult(RESULT_OK, intent);
			//	    finish();

	//		}
	//	});
	}

}
